<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
		<base href="${basePath }"/>
		<title>侠侠社区 - 登录</title>
		<link rel="stylesheet" href="source/css/main.css" type="text/css"></link>
		<link rel="stylesheet" href="source/css/login.css" type="text/css"></link>
		<link rel="stylesheet" type="text/css" href="source/css/img_btn.css" />
		<script type="text/javascript" src="source/js/jquery-1.5.2.min.js"></script>
		<script type="text/javascript" src="source/js/main.js"></script>
		<style type="text/css">
		/*body{
	width:100%;
    background:-moz-linear-gradient(top, red, #FFFFFF);
	filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr='red', endColorStr='#FFFFFF', gradientType='0');
}
*/		</style>
		<script type="text/javascript">
			function checkForm(){
				if(""==$.trim($("#loginName").val())){
					alert("请输入帐号！");
					return false;
				}
				if(""==$.trim($("#loginPwd").val())){
					alert("请输入密码！");
					return false;
				}
				return true;
			}
		</script>
	</head>
	<body>
		<div id="divOutBox">
			<div id="divMainBox">
				<div id="divInBox">
					<div id="divLoginBox">
						<form action="login!login.htm" method="post" onsubmit="return checkForm();">
							<fieldset class="fieldset_login" style="width: 350px;" >
								<legend>
									用户登录
								</legend>
								<table>
									<tr>
										<th>
											帐 号：
										</th>
										<td>
											<input type="text" id="loginName" name="user.regEmail" class="txt" value="###" title="请输入帐号！"/>
										</td>
									</tr>
									<tr>
										<th>
											密 码：
										</th>
										<td>
											<input type="password" id="loginPwd" name="user.userPwd" class="txt" title="请输入密码！"/>
											<a href="#" title="点击找回密码">忘记密码了？</a>
										</td>
									</tr>
									<tr>
										<td></td>
										<td valign="middle">
											<div class="buttons">
												<button type="submit" class="positive" name="save" >
													<img src="source/images/btn/apply2.png" />
													登&nbsp;&nbsp;录
												</button>
												<button type="button" href="re	gister.jsp" class="regular"
													name="goURI" >
													<img src="source/images/btn/go.png" />
													还没有账号，去注册
												</button>
											</div>
											<!--											<a href="#" style="display: block;float:left; margin-top: 10;margin-left: 30">注&nbsp;&nbsp;册</a>-->
										</td>
									</tr>
								</table>
							</fieldset>
							<fieldset class="fieldset_login" style="width: 350px;" >
								<legend>
									用户登录
								</legend>
								<table>
									<tr>
										<th>
											帐 号：
										</th>
										<td>
											<input type="text" id="loginName" name="user.regEmail" class="txt" value="###" title="请输入帐号！"/>
										</td>
									</tr>
									<tr>
										<th>
											密 码：
										</th>
										<td>
											<input type="password" id="loginPwd" name="user.userPwd" class="txt" title="请输入密码！"/>
											<a href="#" title="点击找回密码">忘记密码了？</a>
										</td>
									</tr>
									<tr>
										<td></td>
										<td valign="middle">
											<div class="buttons">
												<button type="submit" class="positive" name="save" >
													<img src="source/images/btn/apply2.png" />
													登&nbsp;&nbsp;录
												</button>
												<button type="button" href="re	gister.jsp" class="regular"
													name="goURI" >
													<img src="source/images/btn/go.png" />
													还没有账号，去注册
												</button>
											</div>
											<!--											<a href="#" style="display: block;float:left; margin-top: 10;margin-left: 30">注&nbsp;&nbsp;册</a>-->
										</td>
									</tr>
								</table>
							</fieldset>
						</form>
					</div>
				</div>
			</div>
		</div>
	</body>
</html>